package Entidad;

import java.util.ArrayList;
import java.util.List;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToMany;


@Entity

@DiscriminatorValue("Artist")
/**
 * Artist
 */

public class Artist extends Person {
    
    @OneToMany(mappedBy="artist")
    private List<Song> artist_song = new ArrayList<>();

    public List<Song> getArtist_song() {
        return artist_song;
    }

    public void setArtist_song(List<Song> artist_song) {
        this.artist_song = artist_song;
    }
}
